﻿using LeEdu.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeEdu.IDAL
{
    public interface ICourseDAL
    {
        bool AddCourse(Course course);
        List<Course> GetCourses(int pageIndex, int pageSize,out long totalSize);
        List<Course> GetCoursesList();
        bool DelCourse(Guid cid);
        Course GetCourseById(Guid cid);
        bool EditCourse(Course course);
    }
}
